﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Manage/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<QianBuo.Lottery.Web.Areas.Manage.Models.Lottery.ResetWinMoneyModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	调整奖金/返点
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <fieldset class="fieldset">
        <legend>调整奖金/返点</legend>
        <% Html.BeginForm(); %>
        <table width="100%" class="table">
            <% if (!ViewData.ModelState.IsValid) %>
            <%{ %>
            <tr>
                <td colspan="3">
                    <%=Html.ValidationMessage("Error") %>
                </td>
            </tr>
            <%} %>
            <tr>
                <td colspan="3">
                    调整站点以及所有用户的奖金和返点,增加相应的值，也可以是负数做为降低奖金或返点
                </td>
            </tr>
            <tr>
                <td>
                    <label for="Lottery">请选择彩种：</label>
                    <%=Html.DropDownListFor(p=>p.Lottery,Model.Lotters) %>
                    <%=Html.ValidationMessageFor(p=>p.Lottery) %>
                </td>
                <td>
                    <label for="WinModelID">请选择模式：</label>
                    <%=Html.DropDownListFor(p=>p.WinModelID,Model.WinModels) %>
                    <%=Html.ValidationMessageFor(p=>p.WinModelID) %>
                </td>
                <td rowspan="2">
                    <input type="submit" value="调整" onclick="return confirm('确定提交吗？')" />
                </td>
            </tr>
            <tr>
                <td>
                    <label for="Ratio">
                        奖金(增加)：</label>
                    <%=Html.TextBoxFor(p => p.WinMoney, new { @class="text100"})%>元
                    <%=Html.ValidationMessageFor(p=>p.WinMoney) %>
                </td>
                <td>
                    <label for="Ratio">
                        返点(增加)：</label>
                    <%=Html.TextBoxFor(p => p.Ratio, new { @class="text100"})%>
                    <%=Html.ValidationMessageFor(p=>p.Ratio) %>
                </td>
            </tr>
        </table>
        <% Html.EndForm(); %>
    </fieldset>
</asp:Content>